package com.aliyun.messagemgt.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * 短信配额告警
 * @author  byp
 * @date 2020/07/13 
 */
@Accessors(chain = true)
@Data
public class SmsQuotaMonitor implements Serializable {

	private static final long serialVersionUID =  6095786885799645152L;

	/**
	 * 短信配额告警表主键
	 */
	private Integer id;

	/**
	 * 消息源UUID
	 */
	private String msgSourceId;

	/**
	 * 配额告警值
	 */
	private Integer monitorQuota;

	/**
	 * 状态 1-启用 2-禁用
	 */
	private Integer status;

	/**
	 * 创建时间
	 */
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date createTime;

	/**
	 * 更新时间
	 */
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date updateTime;

}
